package com.carAnalysisAdmin.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.carAnalysisAdmin.common.annotation.Excel;
import com.carAnalysisAdmin.common.core.domain.BaseEntity;

/**
 * 用户出库排队对象 user_go_time
 * 
 * @author ruoyi
 * @date 2024-04-24
 */
public class UserGoTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 原楼层id */
    @Excel(name = "原楼层id")
    private Long oldFloor;

    /** 目标楼层id */
    @Excel(name = "目标楼层id")
    private Long goFloor;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOldFloor(Long oldFloor) 
    {
        this.oldFloor = oldFloor;
    }

    public Long getOldFloor() 
    {
        return oldFloor;
    }
    public void setGoFloor(Long goFloor) 
    {
        this.goFloor = goFloor;
    }

    public Long getGoFloor() 
    {
        return goFloor;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("oldFloor", getOldFloor())
            .append("goFloor", getGoFloor())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .toString();
    }
}
